*** Stata Code to Replicate EP6 Parliamentary Questions Paper
*** Sven-Oliver Proksch & Jonathan Slapin

clear
cd "/Volumes/sproksch/Uni Mannheim/Mannheim Projects/Scrutinizing the Executive - Question Time in the EP/EP Question Time FINAL DATA"
use "EP6 MEP-COM Final Data.dta", replace

* Zero inflated negative binomial model
* DV: number of questions per MEP-Commissioner pair

* All MEPs:xi: zinb questionsasked mep_com_samenatparty mep_com_samecountry mep_com_sameepgroup  unc_com_natparty_euposition unc_mep_natparty_euposition sameportfolio mepnatpartyingov totaltenureindays commissionertenure i.mepcountry, inflate(totaltenureindays  commissionertenure  epleader) vuong

* without Kilroy-Silk MEP:
xi: zinb questionsasked mep_com_samenatparty mep_com_samecountry mep_com_sameepgroup  unc_com_natparty_euposition unc_mep_natparty_euposition sameportfolio mepnatpartyingov totaltenureindays commissionertenure i.mepcountry if mepid!=28492, inflate(totaltenureindays  commissionertenure  epleader) vuong


